package com.asgard.constant;

/**
 * RA证书状态枚举。
 */
public enum CertState {

    VALID(1, "有效"),
    REVOKED(2, "吊销"),
    UNCONFIRMED(3, "待确认"),
    EXPIRED(4, "过期");

    private Integer code;
    private String text;

    CertState(Integer code, String text) {
        this.code = code;
        this.text = text;
    }

    public Integer getCode() {
        return code;
    }

    public String getText() {
        return text;
    }
}

